<?php

namespace app\modules\lenders\models;

use Yii;

/**
 * This is the model class for table "rah_TimeSchedule".
 *
 * @property integer $scheduleID
 * @property string $scheduleName
 * @property string $excuteTime
 * @property integer $isProcessed
 * @property string $processedArgs
 * @property string $processedTime
 * @property string $CreateUser
 * @property string $CreateTime
 */
class TimeSchedule extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'rah_TimeSchedule';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['excuteTime', 'processedTime', 'CreateTime'], 'safe'],
            [['isProcessed'], 'integer'],
            [['scheduleName'], 'string', 'max' => 50],
            [['processedArgs'], 'string', 'max' => 1500],
            [['CreateUser'], 'string', 'max' => 20],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'scheduleID' => 'Schedule ID',
            'scheduleName' => 'Schedule Name',
            'excuteTime' => 'Excute Time',
            'isProcessed' => 'Is Processed',
            'processedArgs' => 'Processed Args',
            'processedTime' => 'Processed Time',
            'CreateUser' => 'Create User',
            'CreateTime' => 'Create Time',
        ];
    }
}
